package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
@Data
public class Notice extends Model<Notice> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	private String phone;
	private String title;
	private String image;
	private String time;
	private String content;
	private String din_id;
	private String userId;
	private String dinName;
	private String userName;
	private String jieshouUserId;
	@TableField(exist = false)
	private String name;

	@Override
	protected Serializable pkVal() {
		return id;
	}

}
